package com.example.carprovideruser.mapper.hkf;

import com.example.carinterface.pojo.BookingApplication;
import com.example.carinterface.pojo.BusinessOrder;
import com.example.carinterface.pojo.OrderState;

import java.util.List;
import java.util.Map;

public interface BusinessOrderMapper {
    Integer insertBookingApplication(BookingApplication bookingApplication);


    Integer insertBusinessOrder(BusinessOrder businessOrder);

    Integer insertOrderState(OrderState orderState);

    List<Map> selectMyBusinessOrderState(Map<String, Object> map);


    Integer updateBookingApplication(Map<String, Object> map);

    Integer insertDriverComment(Map<String, Object> map);

    Integer updateIntegral(Map map);

    Integer updateMyCoupon(BookingApplication bookingApplication);

    Integer updatePointPay(BookingApplication bookingApplication);

    Map selectFinalPrice(Map<String, Object> map);
}
